import { defineStore } from 'pinia'
import { ref } from 'vue'
// 登录信息
export const useUserStore = defineStore(
  'big-user',
  () => {
    const token = ref()
    const setToken = (newVaule) => {
      token.value = newVaule
    }
    return {
      token,
      setToken
    }
  },
  { persist: true }
)
